package com.ji.li.reactadminproexampleservice.entity.menu;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 菜单表
 */
@TableName(value = "menu_table")
public class Menu {
    public Integer getmId() {
        return mId;
    }

    public String getmTitle() {
        return mTitle;
    }

    public String getmIcon() {
        return mIcon;
    }

    public String getmGrade() {
        return mGrade;
    }

    public String getmPath() {
        return mPath;
    }

    public String getmFather() {
        return mFather;
    }

    public Boolean getmIs() {
        return mIs;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }

    public void setmTitle(String mTitle) {
        this.mTitle = mTitle;
    }

    public void setmIcon(String mIcon) {
        this.mIcon = mIcon;
    }

    public void setmGrade(String mGrade) {
        this.mGrade = mGrade;
    }

    public void setmPath(String mPath) {
        this.mPath = mPath;
    }

    public void setmFather(String mFather) {
        this.mFather = mFather;
    }

    public void setmIs(Boolean mIs) {
        this.mIs = mIs;
    }

    @TableId(value = "m_id",type = IdType.AUTO)
    private Integer mId;
    @TableField(value = "m_title")
    private String mTitle;
    @TableField(value = "m_icon")
    private String mIcon;
    @TableField(value = "m_grade")
    private String mGrade;
    @TableField(value = "m_path")
    private String mPath;
    @TableField(value = "m_father")
    private String mFather;
    @TableField(value = "m_is")
    private Boolean mIs;

    @Override
    public String toString() {
        return "Menu{" +
                "mId=" + mId +
                ", mTitle='" + mTitle + '\'' +
                ", mIcon='" + mIcon + '\'' +
                ", mGrade='" + mGrade + '\'' +
                ", mPath='" + mPath + '\'' +
                ", mFather='" + mFather + '\'' +
                ", mIs=" + mIs +
                '}';
    }
}
